package com.springcloud.authorservice.mapper;

import com.springcloud.authorservice.pojo.Author;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface AuthorMapper {
    @Select("select * from author where id=${id}")
    Author getAuthorInfo(Integer id);
}
